﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SacNetUg.Master" Inherits="System.Web.Mvc.ViewPage<SacNetUG.Models.RegisterModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegisterLiveID
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Create a New Account</h2>
    <% using (Html.BeginForm(new { Controller = "Account", Action = "LiveIdRegistration" }))
       {%>
    <%= Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.") %>
    <div>
        <fieldset>
            <div class="editor-label">
                <%= Html.LabelFor(m => m.FirstName) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(m => m.FirstName)%>
                <%= Html.ValidationMessageFor(m => m.FirstName)%>
            </div>
            <div class="editor-label">
                <%= Html.LabelFor(m => m.LastName) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(m => m.LastName)%>
                <%= Html.ValidationMessageFor(m => m.LastName)%>
            </div>
            <div class="editor-label">
                <%= Html.LabelFor(m => m.Email) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(m => m.Email) %>
                <%= Html.ValidationMessageFor(m => m.Email) %>
            </div>
            <%=Html.Hidden("authId", ViewData["authId"]) %>
            <p>
                <input type="submit" value="Register" />
            </p>
        </fieldset>
    </div>
    <%
        }%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
</asp:Content>
